package com.zx.zxojbackendjudge.codesandbox;


import com.zx.zxojbackendmodel.dto.judge.ExecuteCodeRequest;
import com.zx.zxojbackendmodel.dto.judge.ExecuteCodeResponse;

/**
 * 代码沙箱接口
 */
public interface CodeSandBox {
    /**
     * 获取代码执行结果
     *
     * @param executeCodeRequest
     * @return
     */
    ExecuteCodeResponse executeCode(ExecuteCodeRequest executeCodeRequest);
}
